<?php
    /**
     * Created by PhpStorm.
     * User: Administrator
     * Date: 2017/4/12
     * Time: 11:24
     */
    //PHP工程师
    
    class PhpEngineer extends Father{
        public $kill="PHP工程师";
    
        /**
         * @return string
         */
        public function getKill(): string
        {
            return $this->kill;
        }
        public function profession(){
            echo "我的职业是：".$this->kill;
        }
    }